package com.foreknow.dao;

import com.foreknow.bean.Users;

import java.sql.SQLException;

/**
 * 持久层,数据访问层,比较基础的操作,具体到对于某个表的增删改查.
 */
public interface UsersDao {
    //注册,添加
    public int add(Users users) throws SQLException;
    //登录,查询
    public Users login(String adminname, String password) throws SQLException;
}
